package com.endurance.service.impl;

import com.endurance.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Override
    public void save() {
        System.out.println("保存用户信息...");
    }

    @Override
    public void calc() {
        System.out.println("计算用户余额...");
        int a = 1 / 0;
    }

    @Override
    public void find(int i) {
        System.out.println("查询用户信息...");
    }
}